package com.wangijun.yuan.web.model.dto;


import com.wangijun.yuan.core.domain.Article;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public class CreationQryDraftParam extends PageParam<Article> {
    @Schema(description = "查询文本")
    String text;
    @Schema(description = "最多阅读还是最新发布")
    OrderByEnum order;

    public enum OrderByEnum {
        // 最近发布
        create_time,
    }
}
